package com.zdsoft.finance.common.enums;

/**
 * Created by liuwei on 2015/11/30.
 * 审批单类型枚举
 */
public enum ENUM_BUSIFORM_TYPE {

	/**
	 * 项目准入
	 */
	PERMIT,
	/**
	 * 项目
	 */
	PROJECT,
	/**
	 * 需准入的项目评审
	 */
	PROJECT_APPLY,
	/**
	 * 项目评审
	 */
	PROJECT_EVALUATE,
	/**
	 * 投票表决
	 */
	VOTE,
	/**
	 * 决议审批
	 */
	RESOLUTION,
	/**
	 * 项目上会信息
	 */
	MEETING_PROJECT,
	/**
	 * 合同编辑
	 */
	CONTRACT,
	/**
	 * 合同申请
	 */
	CONTRACT_APPR,
	/**
	 * 放款申请
	 */
	LOAN_APPR,
	/**
	 * 还款申请
	 */
	REPAY_APPR,
	/**
	 * 保函申请
	 */
	GUAR_LETTER,
	/**
	 * 解保申请
	 */
	RELEASE_GUAR,
	/**
	 * 定期检查
	 */
	DAILY_CHECK,
	/**
	 * 不定期检查
	 */
	MANUAL_CHECK,
	/**
	 * 决议变更申请
	 */
	RESOLUTION_CHANGE_APPLY,
	/**
	 * 决议变更查看
	 */
	RESOLUTION_CHANGE_VIEW,
	/**
	 * 合同变更申请
	 */
	CONTRACT_CHANGE_APPLY,
	/**
	 * 合同变更查看
	 */
	CONTRACT_CHANGE_APPLY_VIEW,
	/**
	 * 风险方案
	 */
	RISK_DEAL,
	/**
	 * 五级分类
	 */
	CLASSIFY,
	/**
	 * 催收
	 */
	COLLECTION,
	/**
	 * 代偿
	 */
	REPLACE_REPAY,
	/**
	 * 追偿入账
	 */
	RECOVER,
	/**
	 * 项目基本信息
	 */
	PROJECT_INFO,
	/**
	 * 业务品种选择
	 */
	BUSITYPE_CHOOSE,
	/**
	 * 非融诉讼保全项目评审
	 */
	PROJECT_EVALUATE_LITIGATE_PRSV,
	/**
	 * 非融工程履约项目评审
	 */
	PROJECT_EVALUATE_PERFORM_ENG,
	/**
	 * 非融其他项目评审
	 */
	PROJECT_EVALUATE_NONFIN_GUAR,

	/**
	 * 贷款业务项目评审
	 */
	PROJECT_EVALUATE_LOAN,

	/**
	 * 融资业务项目评审
	 */
	PROJECT_EVALUATE_GUAR,
	/**
	 * 项目结案
	 */
	PROJECT_TERMINATE,
	/**
	 * 项目终止
	 */
	PROJECT_ABORTED,
	/**
	 * 档案借阅
	 */
	FILE_BORROW,
	/**
	 * 贷款业务展期
	 */
	LOAN_POSTPONE,
	/**
	 * 融资放款
	 */
	FIN_GUAR_LOAN_APPLY,
	/**
	 * 新股申购
	 */
	PROJECT_EVALUATE_SHARES,
	/**
	 * 授信项目
	 */
	PROJECT_EVALUATE_CREDIT,
	/**
	 * 项目退出
	 */
	PROJECT_EXIT,
	/**
	 * 逾期
	 */
	OVERDUE_CENSUS,
	/**
	 * 准入项目
	 */
	BUSIFORM_PERMIT,
	/**
	 * 提前还款
	 */
	PRE_REPAY,
	/**
	 * 置换保证措施
	 */
	REPLACEMENT_MEASURE;

	/**
	 * 转中文
	 * @param value
	 * @return
	 */
	public static String getName(String value) {
		String name = "";
		switch (value) {
		case "PERMIT":
			name = "项目准入";
			break;
		case "PROJECT_APPLY":
			name = "项目申请";
			break;
		case "PROJECT_EVALUATE":
			name = "项目评审";
			break;
		case "VOTE":
			name = "投票表决";
			break;
		case "RESOLUTION":
			name = "决议审批";
			break;
		case "MEETING_PROJECT":
			name = "项目上会信息";
			break;
		case "CONTRACT":
			name = "合同编辑";
			break;
		case "CONTRACT_APPR":
			name = "合同申请";
			break;
		case "LOAN_APPR":
			name = "放款申请";
			break;
		case "REPAY_APPR":
			name = "还款申请";
			break;
		case "GUAR_LETTER":
			name = "保函申请";
			break;
		case "RELEASE_GUAR":
			name = "合同申请";
			break;
		case "DAILY_CHECK":
			name = "定期检查";
			break;
		case "MANUAL_CHECK":
			name = "决议变更申请";
			break;
		case "RESOLUTION_CHANGE_VIEW":
			name = "决议变更查看";
			break;
		case "CONTRACT_CHANGE_APPLY":
			name = "合同变更申请";
			break;
		case "CONTRACT_CHANGE_APPLY_VIEW":
			name = "合同变更查看";
			break;
		case "RISK_DEAL":
			name = "风险方案";
			break;
		case "CLASSIFY":
			name = "五级分类";
			break;
		case "COLLECTION":
			name = "催收";
			break;
		case "REPLACE_REPAY":
			name = "代偿申请";
			break;
		case "RECOVER":
			name = "追偿入账";
			break;
		case "PROJECT_INFO":
			name = "项目基本信息";
			break;
		case "BUSITYPE_CHOOSE":
			name = "业务品种选择";
			break;
		case "PROJECT_EVALUATE_LITIGATE_PRSV":
			name = "非融诉讼保全项目评审";
			break;
		case "PROJECT_EVALUATE_LOAN":
			name = "贷款业务项目评审";
			break;
		case "PROJECT_EVALUATE_GUAR":
			name = "融资业务项目评审";
			break;
		case "PROJECT_TERMINATE":
			name = "项目结案";
			break;
		case "PROJECT_ABORTED":
			name = "项目终止";
			break;
		case "FILE_BORROW":
			name = "档案借阅";
			break;
		case "LOAN_POSTPONE":
			name = "贷款业务展期";
			break;
		case "FIN_GUAR_LOAN_APPLY":
			name = "融资放款";
			break;
		case "OVERDUE_CENSUS":
			name = "逾期";
			break;
		case "PROJECT_EXIT":
			name = "项目退出";
			break;
		case "PROJECT_EVALUATE_SHARES":
			name = "新股申购项目评审";
			break;
		case "PRE_REPAY":
			name = "提前还款";
			break;
		case "PROJECT_EVALUATE_CREDIT":
			name = "授信项目评审";
			break;
		case "REPLACEMENT_MEASURE":
			name = "置换保证措施";
			break;
		default:
			break;
		}
		return name;	

	}  

}
